package suanfa;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * Description:
 * Author:    Dane
 * CreateTime:2024/9/10-下午12:20
 * Since  :   1.0
 * Version:   1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class testReference {

    String a;
    int b;

    public static void main(String[] args) {
        testReference testReference = new testReference("2",3);
        testReference b=testReference;
        b.setA("e");
        System.out.println(testReference.getA());

        ListNode head = new ListNode();
        ListNode temp=head;
        ListNode pre=null;
        while (temp.next!=null){
            pre=temp;
            temp=temp.next;
        }
        pre.next=null;

    }
}
